projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55d6c8a
)
(font_load_for_face): Handle the case that the font in
author
Kenichi Handa
<handa@m17n.org>
Fri, 25 Jan 2008 11:26:27 +0000
(11:26 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Fri, 25 Jan 2008 11:26:27 +0000
(11:26 +0000)
face->lface is a string.
src/font.c
patch
|
blob
|
history
diff --git
a/src/font.c
b/src/font.c
index f9097d1f064b6fbaa04e3482c503ca58fa26d1c8..1e95315bdafa31519883898e60f256a322ccc75e 100644
(file)
--- a/
src/font.c
+++ b/
src/font.c
@@
-2753,6
+2753,10
@@
font_load_for_face (f, face)
if (! NILP (entity))
font_object = font_open_for_lface (f, entity, face->lface, Qnil);
}
+ else if (STRINGP (font_object))
+ {
+ font_object = font_open_by_name (f, SDATA (font_object));
+ }
if (! NILP (font_object))
{